<h1>Passs List</h1>

<table>
  <thead>
    <tr>
      <th>Id</th>
      <th>Comment to pass</th>
      <th>Pass type</th>
      <th>Student</th>
      <th>Lesson</th>
      <th>Created at</th>
      <th>Updated at</th>
    </tr>
  </thead>
  <tbody>
    <?php foreach ($passs as $pass): ?>
    <tr>
      <td><a href="<?php echo url_for('pass/show?id='.$pass->getId()) ?>"><?php echo $pass->getId() ?></a></td>
      <td><?php echo $pass->getCommentToPass() ?></td>
      <td><?php echo $pass->getPassTypeId() ?></td>
      <td><?php echo $pass->getStudentId() ?></td>
      <td><?php echo $pass->getLessonId() ?></td>
      <td><?php echo $pass->getCreatedAt() ?></td>
      <td><?php echo $pass->getUpdatedAt() ?></td>
    </tr>
    <?php endforeach; ?>
  </tbody>
</table>

  <a href="<?php echo url_for('pass/new') ?>">New</a>
